package de.verleihverwaltung;

import javax.swing.JPanel;
import javax.swing.JToolBar;
import javax.swing.JLabel;
import javax.swing.JButton;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import javax.swing.SwingConstants;
import java.awt.Component;
import java.awt.ComponentOrientation;
import javax.swing.BoxLayout;
import java.awt.Insets;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
import java.awt.Dimension;
import java.awt.CardLayout;
import javax.swing.border.SoftBevelBorder;
import javax.swing.border.BevelBorder;

public class PanelSchuldnerAnlegen extends JPanel {

	/**
	 * Create the panel.
	 */
	public PanelSchuldnerAnlegen() {
		setLayout(new BorderLayout(0, 0));
		
		JPanel panel = new JPanel();
		panel.setBorder(null);
		add(panel, BorderLayout.NORTH);
		GridBagLayout gbl_panel = new GridBagLayout();
		gbl_panel.columnWidths = new int[]{47, 356, 0};
		gbl_panel.rowHeights = new int[]{23, 0};
		gbl_panel.columnWeights = new double[]{1.0, 1.0, Double.MIN_VALUE};
		gbl_panel.rowWeights = new double[]{0.0, Double.MIN_VALUE};
		panel.setLayout(gbl_panel);
		
		JToolBar toolbarSymbole = new JToolBar();
		toolbarSymbole.setAlignmentX(0.0f);
		toolbarSymbole.setFloatable(false);
		GridBagConstraints gbc_toolbarSymbole = new GridBagConstraints();
		gbc_toolbarSymbole.anchor = GridBagConstraints.NORTHWEST;
		gbc_toolbarSymbole.insets = new Insets(0, 0, 0, 5);
		gbc_toolbarSymbole.gridx = 0;
		gbc_toolbarSymbole.gridy = 0;
		panel.add(toolbarSymbole, gbc_toolbarSymbole);
		toolbarSymbole.setRollover(true);
		
		JButton buttonDrucken = new JButton("Drucken");
		buttonDrucken.setMargin(new Insets(4, 14, 4, 14));
		toolbarSymbole.add(buttonDrucken);
		buttonDrucken.setToolTipText("Drucken");
		
		JToolBar toolbarProgrammModi = new JToolBar();
		toolbarProgrammModi.setAlignmentX(Component.LEFT_ALIGNMENT);
		GridBagConstraints gbc_toolbarProgrammModi = new GridBagConstraints();
		gbc_toolbarProgrammModi.anchor = GridBagConstraints.NORTHEAST;
		gbc_toolbarProgrammModi.gridx = 1;
		gbc_toolbarProgrammModi.gridy = 0;
		panel.add(toolbarProgrammModi, gbc_toolbarProgrammModi);
		
		JButton buttonVerleihungErstellen = new JButton("Verleihung anlegen");
		buttonVerleihungErstellen.setMargin(new Insets(4, 14, 4, 14));
		buttonVerleihungErstellen.setToolTipText("Verleihung erstellen Perspektive");
		toolbarProgrammModi.add(buttonVerleihungErstellen);
		
		JButton buttonVerleihungenAnzeigen = new JButton("Offene Verleihungen anzeigen");
		buttonVerleihungenAnzeigen.setMargin(new Insets(4, 14, 4, 14));
		buttonVerleihungenAnzeigen.setToolTipText("Offene Verleihungen Anzeigen Perspektive");
		toolbarProgrammModi.add(buttonVerleihungenAnzeigen);
		
		JButton buttonSchuldnerErstellen = new JButton("Schuldner anlegen");
		buttonSchuldnerErstellen.setMargin(new Insets(4, 14, 4, 14));
		toolbarProgrammModi.add(buttonSchuldnerErstellen);
		
		JPanel panelStartCardLayout = new JPanel();
		add(panelStartCardLayout, BorderLayout.CENTER);
		panelStartCardLayout.setLayout(new CardLayout(0, 0));
		
		JPanel panelVerleihungAnlegen = new JPanel();
		panelVerleihungAnlegen.setBorder(new BevelBorder(BevelBorder.RAISED, null, null, null, null));
		panelStartCardLayout.add(panelVerleihungAnlegen, "name_16995849871306");
		
		JPanel panelOffeneVerleihungenAnzeigen = new JPanel();
		panelStartCardLayout.add(panelOffeneVerleihungenAnzeigen, "name_16998918215516");
		
		JPanel panelSchuldnerAnlegen = new JPanel();
		panelStartCardLayout.add(panelSchuldnerAnlegen, "name_17000901367542");

	}

}
